package com.jkoss.wine.investment.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;

import cn.afterturn.easypoi.excel.annotation.Excel;

/**
 * 招商信息
 * 
 * @Author Ning
 * @Version 1.0, 2018-10-25
 * @See
 * @Since com.jkoss.wine.investment.entity
 * @Description: TODO
 */
public class Investment extends Model<Investment> {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId("id")
	private String id;
	/**
	 * 姓名
	 */
	@Excel(name = "姓名", orderNum = "0", width = 30)
	@TableField("name")
	private String name;
	/**
	 * 日期
	 */
	@Excel(name = "日期", orderNum = "4", format = "yyyy-MM-dd", width = 30)
	@TableField("date")
	private Date date;
	/**
	 * 时间
	 */
	@Excel(name = "时间", orderNum = "5", format = "yyyy-MM-dd HH:mm:ss", width = 30)
	@TableField("time")
	private Date time;
	/**
	 * 电话
	 */
	@Excel(name = "电话", orderNum = "2", width = 30)
	@TableField("phone")
	private String phone;
	/**
	 * 其他联系方式
	 */
	@Excel(name = "其他联系方式", orderNum = "3", width = 30)
	@TableField("other")
	private String other;
	/**
	 * 地区名称
	 */
	@Excel(name = "地区名称", orderNum = "6", width = 30)
	@TableField("area_name")
	private String areaName;
	/**
	 * 地区编号
	 */
	@TableField("area_code")
	private String areaCode;
	/**
	 * 客户来源
	 */
	@Excel(name = "客户来源", orderNum = "7", width = 30)
	@TableField("source")
	private String source;
	/**
	 * 状态：1-未联系[新增信息默认]、2-跟进中[只要有跟进记录即自动换成跟进中，普通帐号不设置修改权限]
	 */
	@Excel(name = "状态", orderNum = "8", replace = { "未联系_1", "跟进中_2" }, width = 30)
	@TableField("state")
	private Integer state;
	/**
	 * 客户意向(系统管理处可以自主设置客户意向标签，然后此处选择修改，下拉ABCDE)
	 */
	@Excel(name = "客户意向", orderNum = "9", width = 30)
	@TableField("intent")
	private String intent;
	/**
	 * 下一次跟进时间(自主设置，设置完成后不能修改)
	 */
	@Excel(name = "下一次跟进时间", orderNum = "10", format = "yyyy-MM-dd", width = 30)
	@TableField("ntfw")
	private Date ntfw;
	/**
	 * 跟进人
	 */
	@TableField("maid")
	private String maid;
	/**
	 * 性别
	 */
	@Excel(name = "性别", orderNum = "1", replace = { "女_0", "男_1" }, width = 30)
	@TableField("sex")
	private Integer sex;
	/**
	 * 招商类型，根据系统设置：itmt_type
	 */
	@TableField("type")
	private String type;
	/**
	 * 备注1
	 */
	@Excel(name = "备注1", orderNum = "12", width = 30)
	@TableField("remk1")
	private String remk1;
	/**
	 * 备注2
	 */
	@Excel(name = "备注2", orderNum = "13", width = 30)
	@TableField("remk2")
	private String remk2;
	/**
	 * 备注3
	 */
	@Excel(name = "备注3", orderNum = "14", width = 30)
	@TableField("remk3")
	private String remk3;
	/**
	 * 备注4
	 */
	@Excel(name = "备注4", orderNum = "15", width = 30)
	@TableField("remk4")
	private String remk4;
	/**
	 * 备注5
	 */
	@Excel(name = "备注5", orderNum = "16", width = 30)
	@TableField("remk5")
	private String remk5;
	/**
	 * 当操作人为null时，表示自动录入
	 */
	@TableField("operator")
	private String operator;
	/**
	 * 添加时间
	 */
	@Excel(name = "添加时间", orderNum = "11", format = "yyyy-MM-dd", width = 30)
	@TableField("add_time")
	private Date addTime;
	/**
	 * 是否删除：0-未删除、1-已删除、2-不能删除
	 */
	@TableField("del")
	private Integer del;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getOther() {
		return other;
	}

	public void setOther(String other) {
		this.other = other;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getIntent() {
		return intent;
	}

	public void setIntent(String intent) {
		this.intent = intent;
	}

	public Date getNtfw() {
		return ntfw;
	}

	public void setNtfw(Date ntfw) {
		this.ntfw = ntfw;
	}

	public String getMaid() {
		return maid;
	}

	public void setMaid(String maid) {
		this.maid = maid;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getRemk1() {
		return remk1;
	}

	public void setRemk1(String remk1) {
		this.remk1 = remk1;
	}

	public String getRemk2() {
		return remk2;
	}

	public void setRemk2(String remk2) {
		this.remk2 = remk2;
	}

	public String getRemk3() {
		return remk3;
	}

	public void setRemk3(String remk3) {
		this.remk3 = remk3;
	}

	public String getRemk4() {
		return remk4;
	}

	public void setRemk4(String remk4) {
		this.remk4 = remk4;
	}

	public String getRemk5() {
		return remk5;
	}

	public void setRemk5(String remk5) {
		this.remk5 = remk5;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Investment{" + ", id=" + id + ", name=" + name + ", date=" + date + ", time=" + time + ", phone=" + phone + ", other=" + other + ", areaName=" + areaName + ", areaCode=" + areaCode + ", source=" + source + ", state=" + state + ", intent=" + intent + ", ntfw=" + ntfw + ", maid=" + maid + ", sex=" + sex + ", type=" + type + ", remk1=" + remk1 + ", remk2=" + remk2 + ", remk3=" + remk3 + ", remk4=" + remk4 + ", remk5=" + remk5 + ", operator=" + operator + ", addTime=" + addTime + ", del=" + del + "}";
	}
}
